﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Trangtrai.cauhinh
{
    public partial class Schedule : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
             
        }
        public void addColControl()
        {
            int lVisibleIndex = 0;

            DevExpress.Web.ASPxGridView.GridViewDataTextColumn colCmd = new DevExpress.Web.ASPxGridView.GridViewDataTextColumn();
            // set the column properties
            colCmd.VisibleIndex = lVisibleIndex++; // set the visible index & increment index.
            colCmd.ReadOnly = true;
            colCmd.FieldName = "name";
            colCmd.Caption = "Thời gian biểu";
            
            this.schedueGrid.Columns.Add(colCmd);
            
            
        }

       
    }
}